package carstore.ui.interfaces;

import carstore.ui.models.Carstore;
import java.util.List;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

//@FeignClient("carstore-service")
@FeignClient("gateway")
	public interface CarstoreClient {
	@RequestMapping(method = RequestMethod.GET, value = "/storeserver/allstores")
	    List<Carstore> getAllCarstores();

}
